package com.jctrip.hotel.common.route2source.model.param;

import java.math.BigDecimal;
import java.util.function.Function;

import lombok.Builder;
import lombok.Data;

/**
 * 渠道请求供应 下单请求参数
 */
@Data
@Builder
public class Route2SourcePostOrderParam {

    //供应商编号
    private String sourceCode;
    //供应商账户id
    private String sourceId;
    //供应商账户应用id
    private String sourceAppId;
    //供应商账户秘钥
    private String sourceSecret;
    //供应拓展信息(JSON格式)
    private String sourceExtra;
    //酒店唯一编号
    private String hotelId;
    //房型编号
    private String roomTypeCode;
    //供应价格码
    private String productCode;
    //入住间数
    private Integer roomCount;
    //入住日期(yyyy-MM-dd)
    private String arriveDate;
    //退房日期(yyyy-MM-dd)
    private String departDate;
    //支付类型(1=预付；2=现付；3=信用类后付)
    private Integer paymentType;
    //下单金额
    private BigDecimal totalPrice;
    //容差金额
    private BigDecimal tolerancePrice;
    //溢价函数
    private Function<BigDecimal, BigDecimal> raiseFunc;
    //预定单号
    private String bookId;
    //最晚到店时间(yyyy-MM-dd HH:mm:ss)
    private String latestArriveTime;
    //订单备注
    private String orderNotes;
    //入住人(多人，逗号分隔)
    private String guestName;
    //入住人电话
    private String guestTel;
    //联系人
    private String contactName;
    //联系人电话
    private String contactTel;
    // 供应商账号拓展信息
    private String extra;
    // 早餐份数
    private Integer breakfast;
    // 酒店拓展
    private String hotelExtra;
    // 活动参数
    private String pricePolicyExtra;
}
